function compent(){
    var div=document.createElement('div');
    div.innerHTML='我是谁?';
    div.className = "content";

    var img =document.createElement('img')
    img.src=require('../img/pic.png');
    div.appendChild(img);

    var img2 =document.createElement('img')
    img2.src=require('../img/zznh.png');
    div.appendChild(img2);

    var i=document.createElement('i');
    i.className = 'iconfont icon-caps-lock iclass'
    div.appendChild(i);
    return div;
}

document.body.appendChild(compent());